<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="formAdd.css" />
<title>Thêm nội dung</title>
</head>
<body>
	<a class="submit1" id="submit">Add</a>

	<div class="form-content">

		<form action="SaveContent" class="wrapper" method="post">
			
			<div class="add">
				<label for="name_content">ContentName</label>
				<input type="text"
					name="name_content" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="date_update">DateUpdate</label> 
				<input type="text"
					name="date_update" class="name-pass" />
			</div>
			
			<div class="add">
				<label for="detail_content">DetailContent</label>
				<input type="text"
					name="detail_content" class="name-pass" />
			</div>
			
			<div class="button">
				<button type="submit" class="save">Save</button>
				<button type="reset" class="save">Cancel</button>
			</div>
		</form>

	</div>
	<script src="jquery-1.10.2.min.js"></script>

	<script>
		$('#submit').click(function() {

			$('body').prepend('<div class = "overlay"></div>');
			$('.wrapper').show();
			//        $('.wrapper').css({position: 'fixed', 'bottom': '30px'});
			$('#submit').click(function() {
				$('.wrapper, .overlay').hide();
			});
		});
	</script>
	
</body>
</html>